/* Custom Global Styles */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333333;
    background-color: #fafafa;
    /* Slightly lighter for better contrast with white cards */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
.h1 {
    font-size: 36px !important;
    font-weight: 500;
    line-height: 1.2;
    color: #222;
}

h2 {
    font-size: 48px !important;
    font-weight: 500;
}

h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #222;
    transition: color 0.3s ease;
}

/* Remove ALL focus borders globally */
*:focus,
.btn:focus,
.page-link:focus,
.navbar-toggler:focus {
    color: #FF9F00 !important;
    background-color: #fff !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Header & Brand */
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.brand-helvetia {
    color: #FF9F00;
    /* Primary Orange */
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.5px;
}

.brand-subtext {
    color: #333;
    font-weight: 300;
    font-size: 26px;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #FF9F00 !important;
}

.btn-quote-nav {
    background-color: #FF9F00;
    color: white !important;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #FF9F00;
}

.btn-quote-nav:hover {
    background-color: #e68a00;
    border-color: #e68a00;
    transform: translateY(-2px);
}

/* Hero Section */
/* Hero Section with Background Image */
.blog-hero {
    position: relative;
    /* You can replace this URL with your preferred image */
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: none;
}

/* Dark Overlay for Text Readability */
.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Adjust the 0.6 for more or less darkness */
    z-index: 1;
}

/* Ensure the text sits above the overlay */
.blog-hero .container {
    position: relative;
    z-index: 2;
}

/* Ensure headings in the hero inherit the white color */
.blog-hero h1 {
    color: #ffffff !important;
}

/* --- Stylish Blog Cards --- */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* Card Hover Lift & Shadow */
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

/* Image Wrapper & Zoom Effect */
.card-img-wrapper {
    overflow: hidden;
    position: relative;
    height: 240px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .card-img-top {
    transform: scale(1.08);
}

/* Text & Interactions */
.card-text {
    font-size: 15px;
    line-height: 1.6;
}

.read-more {
    color: #FF9F00;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more .arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.blog-card:hover h3 {
    color: #FF9F00;
}

.blog-card:hover .read-more .arrow {
    transform: translateX(5px);
}

/* Pagination Styling */
.pagination {
    gap: 5px;
}

.page-link {
    color: #555;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    background-color: #FF9F00;
    border-color: #FF9F00;
    color: white;
}

.page-link:hover:not(.disabled) {
    background-color: #fff9f0;
    color: #FF9F00;
    border-color: #FF9F00;
}

.page-item.disabled .page-link {
    background-color: #f8f9fa;
    color: #aaa;
    border-color: #eaeaea;
}





























/* Article Typography */
.article-hero {
    background-color: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
}

.article-title {
    font-size: 36px !important;
    /* As per current styles info */
    color: #222;
}

.article-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 32px !important;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #222;
}

/* Custom Accents */
.text-orange {
    color: #FF9F00 !important;
}

.breadcrumb-item a {
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #FF9F00 !important;
}

/* Blockquote */
.custom-quote {
    font-size: 24px;
    font-style: italic;
    border-left: 5px solid #FF9F00;
    padding: 10px 30px;
    color: #333;
    font-weight: 500;
}

/* Highlight Box */
.highlight-box {
    background-color: #fff9f0;
    /* Very light orange tint */
    border-left: 4px solid #FF9F00;
}

/* Sidebar Related Posts */
.related-post h6 {
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}

.related-post h6:hover {
    color: #FF9F00 !important;
}

.related-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}




/* Share Icons Styling */
.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* No focus border as requested */
.share-icon:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Hover States */
.share-icon:hover {
    transform: translateY(-3px);
    color: #fff;
}

.btn-facebook:hover {
    background-color: #1877F2;
    /* FB Blue */
}

.btn-instagram:hover {
    background-color: #E4405F;
    /* Instagram Pink */
}

.btn-whatsapp:hover {
    background-color: #25D366;
    /* WhatsApp Green */
}

/* Optional: If you want them all to turn Orange on hover to match the brand */
/*
.share-icon:hover {
    background-color: #FF9F00 !important;
    color: #fff !important;
}
*/





/* 1. Ensure Navbar is always on top layer */
.navbar {
    z-index: 1030;
    /* Standard Bootstrap sticky z-index */
}

/* 2. Fix the Sidebar overlap */
aside .sticky-top {
    /* Offset = Navbar height (approx 70-80px) + some extra breathing room */
    top: 100px !important;
    z-index: 1020;
    /* Lower than navbar */
}

/* 3. Prevent overlap with footer at the bottom */
/* We wrap the sidebar content in a div that handles the stickiness */
.sidebar-content {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    /* Crucial for sticky in Flexbox/Grid */
}
.pagination .page-link {
    color: #4a4a4a;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px); /* Frosted glass effect */
    margin: 0 5px;
    border-radius: 5px;
}

.pagination .page-item.active .page-link {
    background-color: #6c757d; /* Match your gray theme */
    border-color: #6c757d;
    color: white;
}